.cppCode {
  width: 100%;
  height: 100%;
}
.container {
  width: 100%;
  height: 100%;
  padding: 20px;
}

.searchResults {
  margin-bottom: 20px;
}

.searchItem {
  padding: 8px 12px;
  border-radius: 4px;
  background-color: #f5f5f5;
  margin-bottom: 8px;
  cursor: pointer;

  &:hover {
    background-color: #e8e8e8;
  }
}

.detailsContainer {
  border-top: 1px solid #e8e8e8;
  padding-top: 20px;
  display: flex;
  align-items: flex-start;
}

.detailSection {
  margin-bottom: 20px;
  flex: 1;
}

.sectionHeader {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
}

.sectionContent {
  padding-left: 16px;
}

.detailItem {
  padding: 6px 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
  margin-bottom: 6px;
  cursor: pointer;

  &:hover {
    background-color: #e8e8e8;
  }
  &.from {
    background-color: #e6f7ff;
    &:hover {
      background-color: #bae7ff;
    }
  }

  &.to {
    background-color: #f6ffed;
    &:hover {
      background-color: #b7eb8f;
    }
  }
}
